package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：碳中和规划Data
 * @Date：Create by 2023-11-23 16:28:52
 */
@Data
@ToString
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_carbon_neutrality_plan_data")
public class CarbonNeutralityPlanDataEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /*规划 id*/
    private String planId;

    /* 项目Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    /* 数据日期 */
    private LocalDate solidifyDate;

    /*规划碳排 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal planCarbonEmissions;

    /*规划零碳 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal planCarbonZero;

    /*规划碳汇*/
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal planCarbonSequestration;

    /* 规划碳中和 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal planCarbonNeutrality;

    /* 机构Id */
    private String deptId;

}
